package com.think.archive.service;

import com.think.archive.dto.SysUserDto;
import com.think.archive.model.SysUser;

import java.util.List;

public interface SysUserService {

    List<SysUserDto> selectAllUser();

    int insertOrUpdateUser(SysUser user);

    int deleteUser(int id);

    int changeStatusUser(int id ,String status);

    SysUserDto transUserToDto(SysUser user);

    List<SysUserDto> transUserToDtos(List<SysUser> users);
}
